package com.common.swagger.config;

import io.swagger.v3.oas.models.OpenAPI;
import io.swagger.v3.oas.models.info.Info;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Created with Intellij IDEA.
 * Description;
 * User:TQ02
 * Data:2024-08-12
 * Time:21:55
 * Text：建org.springframework.boot.autoconfigure.AutoConfiguration.imports⽂件
 */
@Configuration
public class SwaggerConfig {
    @Bean
    public OpenAPI openAPI() {
        return new OpenAPI()
             .info(new Info()
                     .title("TQ智慧殿堂交流系统")
                     .description("TQ智慧殿堂系统接⼝⽂档")
                     .version("v1"));
         }
 }
